package com.gjs.resource.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.gjs.common.enums.entity.EducationResourceStatusEnum;
import com.gjs.resource.pojo.IEducationResourceType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 资源学段
 * </p>
 *
 * @author JC_Ho
 * @since 2022-03-11
 */
@Getter
@Setter
@TableName("education_resource_period")
@ApiModel(value = "EducationResourcePeriod对象", description = "资源学段")
public class EducationResourcePeriod implements Serializable , IEducationResourceType {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty("分类名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("状态")
    @TableField("status")
    private EducationResourceStatusEnum status;

}
